UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must not use .forward files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4385 GEN004580 SV-37506r3_rule Medium
Description
The .forward file allows users to automatically forward mail to another system. Use of .forward files could allow the unauthorized forwarding of mail and could potentially create mail loops which could degrade system performance.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2016-07-22

Details

Check Text ( None )
None
Fix Text (F-31416r3_fix)
Disable forwarding for sendmail and remove .forward files from the system

Procedure:
Edit the /etc/mail/sendmail.mc file to change the ForwardPath entry to a null path by adding the line
define(`confFORWARD_PATH',`')
rebuild the sendmail.cf file.
If the /etc/mail/sendmail.mc file does not exist, the sendmail.cf file should be updated directly.

Remove all .forward files on the system
# find / -name .forward -delete